Add more delays and printStackTrace to find out the CI problem when running elasticsearch tests.