use finally clause to restore the perms