wakelock fix, logger workingthread check