Also the `sleep @sleep.seconds.to_i` defeats the purpose of having a `0.1.seconds` sleep time.

`0.1.seconds.to_i == 0`. You never sleep.