MacInputStream cleaning