Simplify Dispose pattern for ElasticConnection.