#123 fixed bug about sleep with unsigned int