Update the example a bit.

* Remove the sleep call in favor of a join on all threads.
* Call release the same number of times add_reference is called for clarity.
Improve sequence of actions table on slide 8.