reverted change to clear UDP buffer (didn't work)