This set of functions are poorly named. Either name them as handlers (for example “onServer[Un]Reachable”), or as actions (for example “handleUnreachableServer”).