adding threadsafe to GAE config