Kill threads when websocket connection gets closed
Merge pull request #3 from pokonski/fix-runaway-threads

Kill threads when websocket connection gets closed