Fixed an error on closing addr.