fix. if there esClient is not set Request throws an exceptioon.