add timeout to ESQuery