Drain chain server connected notifications.

Fixes a possible hang on shutdown.