Ignore EOF exceptions when identifying streams.