Added method that will close the input stream associated with the response.