someone can be at their wits' end