shutdown agency on an exception
Merge pull request #2 from kashifrazzaqui/crash_on_exception_in_agency

shutdown agency on an exception