How to detect a TCP connection close event? - Deno