Allow subclasses of ElasticConnection to dispose.