sockjs reconnects when socket gets closed