Fault-Aware Flow Control and Multi-path Routing in Wireless Sensor Networks