$timeout.cancel(loopGetDevicesTimer)