Fix NPE when previous coordinator is restarted.

Refactor command dispatcher logic using channel that does not discard its own messages.