Critical properties loading fix - fix too many open files Java error