Fix thread cache syncronization/validation (#1489028)