Random access error wrt cache.properties.lock (Gradle 1.4)

.gradle\1.4\taskArtifacts\cache.properties.lock (The process cannot access the file because it is being used by another process)

This happens randomly on my system. This seems to be some sort of race condition that comes up occasionally.

Attaching more info in my system…

$ gradle --version

------------------------------------------------------------ Gradle 1.4 ------------------------------------------------------------

Gradle build time: Monday, January 28, 2013 3:42:46 AM UTC Groovy: 1.8.6 Ant: Apache Antâ„¢ version 1.8.4 compiled on May 22 2012 Ivy: 2.2.0 JVM: 1.6.0_37 (Sun Microsystems Inc. 20.12-b01) OS: Windows 7 6.1 amd64

I have this problem as well (also in gradle 1.4)

Is there any solution to this