Fix hang when posting to Twitter fails immediately.