There can be background jobs accessing disk too. But maybe those are less
problematic.

You probably need to detect the recursion somehow and block until done.