freed command_pids array in execute-command.c