Added checking for Twitter timeout