Reproducing case for #112
Avoid statement usage after finalization (#112)