threadsafe

needs to be true in order to deploy on app engine