Fixes a leak when no collector is provided to the collect method
Fixes a leak when instantiating the nested connection with the actual
connection's request

Also fixes a false negative from the static analyzer