Goldcorp closes Timmins mine amid metals downturn