Allow bots to properly logout.