Fix #148: WebSocket reconnection behaviour
Merge pull request #149 from crocodilertc/issue-148

Fix #148: WebSocket reconnection behaviour