docs: private void waitForReplacementBackend() {
        int waitedMilliseconds = 0;
        try {
           while (replacement != null) {
              if (waitedMilliseconds >= GRACE_MILLISECONDS_FOR_REPLACEMENT) {
                 return;
              }
              Thread.sleep(POLLING_MILLISECONDS_FOR_REPLACEMENT);
              waitedMilliseconds += POLLING_MILLISECONDS_FOR_REPLACEMENT;
           }
        } catch (InterruptedException e) {
           Thread.currentThread().interrupt();
        }
     }