better vault open/close management