io: Fix bug where duplex connection is last fd, when another gets deleted.