read it is better to use timeout of 0.0 in a loop

https://code.google.com/p/psutil/issues/detail?id=463
add progress indicator to spinner command

only use indicator on tty