Refactoring. Put "lockd thread" in a "nfs" template