Renamed numberOfConnections variable to numberOfActiveNetworkConnections