possibly fixed threading problems with chunk cache