If you boot cycle NFS server (disable->enable and so on) TrueNAS loses connection to NIS server: status FAULTED and ypwhich says you are disconnecting. Disabling and then enabling NIS directory helps to solve the issue.