Changed lockfile mechanics to only request on write access