release wakelock in all cases