Close the tested file to avoid failures