ndevos, do you really think sleep is necessary here? I tested it and the last test i.e. creating the file is taking good amount of time, so I think quota aggregator will get enough time, what do u say?