Catch and report exceptions from disconnect events