Thread Safety Analysis: fix warning.