Set a deadline on UDP operations.