Flush STDOUT on es-search.pl