Should probably be preceded by an assert that checks that queued_fds->offset > 0.