Fix NPE in the predecessor checker
Retry pings a few times.
Use TThreadedSelectorServer instead of TThreadPoolServer