OFProtocol is modified to prevent abrupt connection termination after error msg received.