Increasing the resilience of family farmers to threats and crises