Working on processing messages, SocketWrited for a limited time