Move conn and cursor into SqlAbstraction.  Implement reconnect.