add support to not listen for uncaught exceptions