removed unused exit feature in io loop