eventscripts: kill_tcp_connections() should send connections to stdin