Fix false postives when checking if apps PID is already running.