enforce max sleep of 0.5 ms on timing thread