Adds a terminate method to be called from your ERXApplication subclass terminate() method.
This method blocks until all running jobs are completed.