unix: Don't clear handle flags after closing UDP handle