bugfix: return the newly created connection_manager when :use_connection_manager is true