Make WebSocket#terminate()
destroy the socket
#1033
Merged
WebSocket#terminate()
destroy the socket
#1033