numConnections refactor error fixed