Fix overflowed int on sleep
Done parse redis events and fire when there are no clients