fixed leak connection on browser client while server is down