A Fault Tolerant Approach for WSN Chain Based Routing Protocols