fixing the issue of not sending addFlow cmd for all dpids if a single switch is faulty/timesout