code: @VisibleForTesting
    void checkSchedulerForInconsistentState() {
      final long now = System.currentTimeMillis();
  
      final Map<SingularityDeployKey, SingularityPendingTaskId> deployKeyToPendingTaskId = getDeployKeyToPendingTaskId();
  
      for (SingularityRequestWithState requestWithState : requestManager.getRequests()) {
        switch (requestWithState.getState()) {
          case ACTIVE:
          case SYSTEM_COOLDOWN:
          case DEPLOYING_TO_UNPAUSE:
            checkActiveRequest(requestWithState, deployKeyToPendingTaskId, now);
            break;
          case DELETED:
          case PAUSED:
          case FINISHED:
            break;
        }
      }
    }
docs: We need to run this check for the various situations where the scheduler could get in an inconsistent state due
  to a crash/network failure during series of state transactions.
  
  1) Unpausing
  2) Launching Task