To release the wake lock until wifi turned off