Fix destructor to actually close all the statement handles. (And remove
it from old place in KeenClient)