Effects of topology on water distribution systems resilience