more accurate timeout calculation for sync