Don't loop forever in UDP server