Recommendation for thread-safe file access (ex .jld2)

I have a for loop that uses the @threads macro, here is a simple example:

Threads.@threads for i in 1:10
    checks = load("myfile.jld2")["checks"]
    @save "myfile.jld2" checks

Currently this does not work, presumably because the different threads are unable to wait for each other when accessing the file.

Is there a recommended way to intermittently back up results of a threaded loop to a file?