Revert 'Remove exclusive file lock in runner wrapper'

Revert 'Remove exclusive file lock in runner wrapper'.