failure detection and state publishing improvement

- es transport connection state is now a factor in determining es
  cluster membership
- publish() does not block anymore