Added thread to UDP