Increase sleep time and use multiples of ten. Allow up to 9ms off in the avg.