broker: ensure disconnect on failing block
Merge pull request #104 from nvloff/ensure_disconnect

broker: ensure disconnect on failing block