Fixed destructor in FSLockManager to clear all the locks.