Make the simple command bus more resilient.

If an exception occurs during the handling of a command, the simple
command bus becomes unusable (`$isDispatching` stays `true`).
With this change the bus will be able to dispatch subsequent commands
even if an exception occurs.