wait for btcd