add pending close handles to the loop