What exactly is the purpose of eos_sync_lock? If it is used to ensure that the database is not updated concurrently, then do we need to use the locks only when the database is accessed? Right now we hold the lock while we are waiting for a response from the EAPI server.