[codiag] Extracting owned bubble unfreezing handler to a named function. Improvement for #22.