Perhaps this should happen in a `finally` block?