Added the missing call to loop
Merge branch 'cryptoRedo' of https://github.com/rlamb/Agent-Service-ATI-IA into cryptoRedo