Changing thread duration to be on same line as thread END