Added transaction handling to connection
Fixed record hydrator, was not closing cursor, which caused that the connection was busy