add singleton client for elastic search.