remove redundant escape
bug fix for old pid being reused

when there's another process using the old pid, the script won't start.
now it checks if the existing process is actually the script itself.