make twitter bot a little more network error-resistant