Getting uncaught stream-related exceptions, so catching them.