Fixed WebSocketClient connections not closing on initial connection failure
Merge pull request #910 from Caligatio/patch-1

Fixed WebSocketClient connections not closing on initial connection failure