Changed threadsafe in app.yaml to true. See if that was wrong...