Clean up error messages, prevent SendAndWaitForResponse from hanging if
connection closed after command send, but before response recieved.