VERACODE-992: fix of CWE ID 404 improper resource shutdown or release in FileLockExclusiveReadLockStrategy