using RUNNING_PID as lock.