Term deposits for primary producers reach almost $5bn