Update pyDbRowFactory.py

bug fix version, disable auto-close cursor if not created by SqlAlchemy