Fix check for RUNNING_PID