Skip running a task if the OpenMRS context is not available. (Mainly this prevents a spurious stack trace from being logged during startup if that startup is slow.)