Fix tcp client data sending

Actually #net.end() half-close connection and not break connection, its
needed to server implementation with 'FIN' packet waiting - anyway we
are ending connection in this method.