Merge "Logs number of times CCAPI running on wrong thread." into main