mllp-connector: logic fix