Created a mutex zone when creating directory and also controls initiation of threads to delete expired folders