update PID variable

Updated which PID the trap command tried to kill so lockfile would actually get removed