example that shows that asynchronously thrown exceptions crash the process as expected