This is done because it allows both commands to be called in paralell, but we do wait for them to finish in the while loop a couple of lines below.