His boss immediately rehired him for having a sense of humor.