ensure we exit with non-zero status on EOF on socket, so the parent