couldn\'t write message data to socket