Fix #50: Plugin blocks startup of cluster by waiting for yellow status

- Monitor cluster health in a separate thread and always wait for status yellow before doing anything. The cluster health is checked every 5 minutes and all actions (index, delete) are blocked until health is yellow.
- Fixes stacktrace on node shutdown.