fix error message on lost client connection