@Override
    public void close() {
        try {
            scheduler.shutdownNow();
            scheduler.awaitTermination(5, TimeUnit.SECONDS);
        } catch (InterruptedException e) {
            throw new RuntimeException(e);
        }
    }
A {@link X509ExtendedKeyManager} that reloads the certificate and private key from file regularly.

@author bjorncs
security-utils/src/main/java/com/yahoo/security/AutoReloadingX509KeyManager.java