[entropy.db.sqlite] clear in-RAM cache after lock acquisition