shutdown agency on an exception

Seemed like the simplest thing to do, tested and this crashes the reactor when it tries to submit another task by throwing RejectedExecutionException