Final loop(again). Tested it at our servers for a couple of days and seems to work fine.