Flushing the cache is usually a pretty simple matter. What you do is
make a directory in the cache that won't be stepped on and move the
other directories in the cache into the newly created directory. Then
remove the new directory (which may take a bit of time depending on
the size of the cache).