Fixed connect leak + changed rowCount to property