Adding the two threads