Terminate on EOF

Terminate the TCP connection 60 seconds after receiving an EOF on stdin.

nc <IP> <port> -q 60