Using non-dev directory.
Fix: Replaced 'kill 0 PID' with safer checker.