Fix: Catch client timeout errors for Files.
Fix: Mutex lock/unlock in same thread.