[codiag] Freezing/unfreezing synchronized. (#15)