Prevent modification or deletion of repositories while snapshots are running

It shouldn't be possible to delete or modify parameters of a repository that is currently in use by one of the running snapshots.