1. A method of performing a cancellation of concurrent worker objects, the method comprising: creating a plurality of concurrent worker objects with a manager object; generating at least one cancellation object with the manager object, the at least one cancellation object including a cancel method and a register method that support concurrent calls; registering a callback function by calling the register method with one of the concurrent worker objects; requesting a cancellation of the concurrent worker objects by calling the cancel method with the manager object; and wherein the creating, generating, registering, and performing are performed by at least one processor.