Implementing PID file to use with monit