(hopefully) thread safe persistent cache connection