server.c: track child process id