issue #178: pay attention to the error coming back from the .destroy() method

 
This will fix issue #178