There is reasonably strong evidence to suggest that social connectedness has a substantial protective effect on suicide risk. Just asking "Hey, how are you?" and making time to listen can make a meaningful difference to someone in distress.
https://www.cdc.gov/ViolencePrevention/pdf/Suicide_Strategic...