Tweaked wakelock management, and remove unnecessary async block.