what might happen to a person whose nervous system and endocrine systems fail to maintain homeostasis