Optimizes lmdb-initialization and removes async dependency