Make sure no IOs are left open