sleep wake issues on mac