WebSockets always get closed