Catch throwable in ZooKeeperServer/AgreementSite run loop