reconnection and close added in sample jobs
required gem and url changed for heroku