Trying to open and close just once