Fix bug related to getting connection in getDataSourceURL

No need to get connection from datasource its already provided by withConnecion() block