Connectivity monitoring using UDP