fixed conn_reset()