graceful failure if websocket script is blocked
Merge pull request #160 from ajb/graceful-failure

graceful failure if websocket script is blocked