[Fixed] invalid bdb cursor usage in multi-threaded environment