Updated to ElasticSearch 0.90.9/Remove thread scheduling when index is removed

Updated to ElasticSearch 0.90.9
Remove thread scheduling when index is removed
Code cleanup
Fixes #1