Close perf file descriptors after use