link child processes to prevent parent hanging