or you can just fix your code and close the descriptors