Introduce wait method for unregister event

In order to be able to wait for the termination of an instance this change-set introduces a new Wait method.

***
*The commits in this branch will be cleaned up in time and likely stashed to a single coherent change-set.*

@soundcloud/iss