More healtcheck fixes

1. checkThreshold should be defined ealier
2. don't remove a node more than once