add way to set client creator, more threadsafety