Merge "Close InputStream in HostUtils" into gingerbread