leveldb: iOptions: protect against possibly race conditions