flock fix

[ci skip]