Fix verify race condition on start

When electrum is started, and transactions have been received while
electrum was turned off, there is a race condition between downloading
the headers and verifying the new received transactions.  If the
transaction verification fails due to a missing header, it will be
retried after a short delay.