fix quality flaw (Throw exception when ES fails within timeout)