Refill keypool if empty and wallet is unlocked.