Use a finally clause.