Mv unordered close

This is to address Solaris atomics syntax and potential GC of db before iterator referencing db.