Fixed worker thread silent assertions

All worker threads are currently silent when assertions are thrown outside of tasks. This fix closes the event loops from other worker threads when one of them errors out.