Hydrocarbon management during tank cleaning in the oil and gas industry