socket polling for heroku