Force long polling based requests to shut down when the devserver shuts down
Merge pull request #370 from hudmol/devserver-shutdown-fix

Force long polling based requests to shut down when the devserver shuts done