Fix for failure to call open callback #110
Fix for missing close callbacks
Close then re-open works, delete then re-open should work

Delete then sql reports error

(ref: #109/#110/#112)