Fix potential memory leak in websockets
Add missing method
Don't re-dispatch to executor