public static void releaseQuiet(@Nullable FileLock lock){
  if (lock != null)   try {
    lock.release();
  }
 catch (  Exception ignored) {
  }
}

public static void releaseQuiet ( @ Nullable FileLock lock ) { if ( lock != null ) try { lock . release ( ) ; } catch ( Exception ignored ) { } }
quietly releases file lock ignoring all possible exceptions .
