Implement a Mac version of AutoSuspendDelegate