fixed websockets polling for heroku