confusion and close the handles