client: bugfix for tcp_reset

when reset tcp trans, is_writing and is_connecting should
not be reset