Closing stream in RoundtripChecker