For some reason this stops the bot from hanging -- it should not make a difference, but it does.