First attempt to handle lockfiles