lib/nfs/Connection: move code to method InternalClose()
lib/nfs/Connection: add assertions