$ perl test.pl
child started
Cannot connect to child socket - Connection refused
Cannot connect to child socket - Connection refused
Cannot connect to child socket - Connection refused
connection from 127.0.0.1:33980
Child reading socket
shutdown 1
Child got /Hello/
connection from 127.0.0.1:33982
Child reading socket
Child EOF
Child reading socket
Child got /Hello2/
Child reading socket
Child EOF
shutdown 2
closing socket
Killing child
waiting on child
parent exiting