Fix: File sharing lock count exceeded error