Make WebSocket implement Closeable, close #166