Fixed disk cache initialization/clean up, thread synchronization