Wait for sending/receiving whole message data. Fix #15