Made ESClient a singleton.