handle heroku request timeouts