Patch for

This should resolve:  ros-infrastructure/jenkins_tools/issues/9

The primary fix is to not print every cycle as printing causes new lines even if there's no new output.  It no longer outputs things line by line, but there's no need to do that.  

This also gets rid of the busy wait and make sure to catch the last elements.