[TO_STAGE]fix is_running check to properly treat empty pidfile as not running