Cleanup on_disconnect.