hey you can try to upload the queue items in the first run itself. so if an exception occurs the queue will not be added again.
Also in intialization if a system exception occurs it will not retry it will directly go to end state.
Regards
Sreejith S S