Minor enhancement to allow items to wait for another to complete before being processed.

Added more advanced example.