CA-140596: Failed Lock cannot be garbage collected

`open_lockfile` was always throwing exceptions, as it's just a seam for the file call. What happens here, is that we ignore some of the exceptions.