synchronize on sqlwallet operations