Make the helios client AutoCloseable.