Close InputStream in finally block.