cec: wait for MSGEND when data was received when opening the connection. bugzid: 536