soundcloud/harpoon — pull request #104 by elenadeneva92 (2014-10-29 12:30:55+00:00)
Title: Fix deadlock in agent representation

Deadlock when try to Schedule task "foo", and receive two updates one after another from the agent:
<- update {"foo": stateRunning}
<- update {"foo": stateFailed}

Block when try to signal "outstanding" containers.

Fix: do not stop listening on channel till it's not closed.

@peterbourgon @jmyounker @stuartnelson3