working on save cache background thread problem
I think the threading issues might work