sending packet to server is almost ready