handle canceling of ResultSets and statements correctly. Fixed #3
close on completion