fix closing watch descriptors