Fix race condition by placing BTC WIF key decryption before completion message