Workaround for the RCC++ socket leak.