add on_shutdown support & remove llmdb pool