Add stop on close example