add retire with elasticserver