According to the documentation, connection should be released in this case
Add new method chain to be able to use a single connection with multiple queries (not at once)