When the wallet is rescanned at startup in `bitcoind`, there seems to be no way to interrupt that in a clean way (other than forcefully killing the process).
{
    WalletBatch batch(*database);
    CAccount account;
    batch.ReadAccount(label, account);