bug fix (load spatialite crash when cancelling load)