make the log file rotation thread safe
implement recover from last committed request
make heartbeat interval and timeout configurable
query healthy servers only