Added error handling for the Close() method calls in the CheckUDPBufferSize function to satisfy linting rules and improve error logging.
Added error handling for the Close() method calls in the CheckUDPBufferSize function to satisfy linting rules and improve error logging.