improved timing of UDP packet recv