Added Begin() and End() calls in the QueueSystemProcessing file