pause and resume websockets alerts working