tilecache: fix config race