Support JDB disconnect callback

Add support for the upstream jugglingdb disconnect callback.

I currently have a use case for this.