Wait for particular PID