set descriptor to -1 after it is close() - helps debugging