#141 redo table open and close locking