Interstate 39-90 between Janesville and Beloit was closed in both directions for more than 7 hours because of a deadly crash involving hazardous materials.