Bug fix: prevent cache from being created when execution is stoped by FatalError()