Close resp body during elastic search check

Should prevent FD starvation when elastic is running on the host.