browser disconnection workaround