use IOUtils to close io stream