fixing some inconsitency in the new connection loss detection... breaks protocol