Fix race between dispatchers.run and toDisk

Seems like all work :) And now there is no race.