I need to run command1 and command2 at the same time(in parallel) until output of them matches. For Example the while loop in consumer should break in the third iteration wh