working on cache builder. work on concurrent issues with clear and shutdown.