Remove websocket listeners on close
Fixes #285