Suspend and resume active repositories on MacOS sleep