Convert to int and larger sleep to reduce packets