Close/open exit flags when do fetch github