cec: reset m_socket to INVALID_SERIAL_SOCKET_VALUE after closing the connection