Resilience Thinking as a Useful Approach to Reduce the Territorial Risks