add cache for dataset locks (they are given up when the job finishes)
minor cleanup
1 file changed