diskcache - remove race condition