Close the inputstreams/connections used for head conversion