US Treasury Secretary Janet Yellen says the agency will run out of funds to meet financial obligations by June 5.