Updated to use timedelta instead of sleep

Instead of using sleep which would cause the client to hang, we decided
to use timedelta in order to allow other things to run while the same
thing is being displayed.