Close if block