Revert "Remove exclusive file lock in runner wrapper"

This reverts commit 64fd5a6a83c182508c20b8ccfda9bf5092f347d8.
Merge branch 'taoyu_revert'