Add required parameter to WaitUntilEmpty

Why does it matter which exception is raised by the actor?