cleanup wakelock operation