Fix bug on finding RUNNING_PID