Closing random file if maxhandles reached
Trying to fix hashtable issues
Fixes hashtable issues. added maximum hashtable size and maximum count of filehandles. Close random file if handlebuffer reaches max