Added note about possible race condition.
More extensive test for wait_for_release.
Tag v5