keep netcat script in shell so it gets closed properly