Fix issue with initializeConnectionStatus.