Support JDB disconnect callback

Add support for the upstream jugglingdb disconnect callback