Added error handler for stream opening.