Homeostasis: The Key to Resilience in Neural Systems