Disconnect chain notifications and wait for all notifications to be processed
Declared in <wallet/wallet.h>
<wallet/wallet.h>
void DisconnectChainNotifications();