@Override
    public void close() {
        stopAsync();
        awaitTerminated();
    }
@Test
    public void constructAndCloseTwice() throws IOException {
        WalletAppKit kit = new WalletAppKit(REGTEST, P2WPKH, BIP43, tmpFolder.newFolder(), filePrefix);
        kit.close();
        kit.close();
    }