Is there a way to close all the open file descriptors, without having an explicit list of them beforehand?


Question: Counterexample: Convergence in probability does not imply convergence in sample mean
Answer: I presume (but it definitely must be stated!) that the $X_n$ are supposed to be independent.  Hint: use one of the Borel-Cantelli lemmas.