diff --git a/lib/spinning_cursor.rb b/lib/spinning_cursor.rb
index <HASH>..<HASH> 100644
--- a/lib/spinning_cursor.rb
+++ b/lib/spinning_cursor.rb
@@ -43,7 +43,7 @@ module SpinningCursor
     begin
       @curs.kill
       # Wait for the cursor to die -- can cause problems otherwise
-      while @curs.alive? ; end
+      sleep(0.1) while @curs.alive?
       # Set cursor to nil so set_banner method only works
       # when cursor is actually running.
       @cursor = nil
Sleep while waiting with @curs.alive?

This reads better (for me) and saves cpu time.

And... perhaps with a better code structure it's possible to completely get rid of this "waiting" thing.