handle websocket client errors to prevent crash
Merge pull request #107 from zlokomatic/master

handle websocket client errors to prevent crash