Protection in case UDP listening is changed to non-blocking