Too many open files exception even after raising the open file limit