fix user close while the peer is still sending data