is_running now uses pgrep instead of regular pid file