Vault: Improve detection if already open

Currently, the detection if the vault is already open doesn't really seem to work, at least not with several Vault instances.

This should be improved.