now sends empty packet to server after tcp connection