SES-1705 : Make RepositoryConnection extend AutoCloseable