Heroku version

Adding streamsql disconnect workaround for heroku.