reseting the  send pipe handle does not trigger the  onclose event  or because the invocation of  onreadable reseting the socket pointer causes a close event per documentation of tcp socket mojom consumer can close the socket by destroying the interface pointer  