Netcat works and child process closes... Have to write conditions for normal GDB termination