google app engine threading problem