Simplify close of handle