Fixed memory leak in UDP receive. Fixed #140