Mercury production to end in Q4