waiting on pids