procedure Wait;
Waits until the workitem has finished its work and then returns.
Jam.Threading.IWorkItem