[BACKLOG-796] prevent browser freeze on invalid connection

avoiding event loop and showing generic error message