elasticsearch version upgrade to 0.90.12
ThreadPoolQueuedSink pending tasks

- getNumOfPendingMessages() should return not 0 when there are pending tasks
make unit test less flaky
Merge pull request #101 from metacret/ISSUE-92

pending tasks should be considered as pending messages