what might happen to a person who is nervous and endocrine systems fail to maintain homeostasis