Plug.Conn.register_before_send for canceled requests

Hi there

We use the Plug.Conn.register_before_send/2 from Plug to log the requests. However for long(er) running requests where the client cancels the request before a response was ready no log is generated. Is there a possibility to hook in the TCP error or close events to properly log such situations?