Added mutex unlock when waiting for AutoPowerOnOff delay so periodic
records are not blocked during delay