Kraft Foods has decided to close its chocolate factory in Romania by the end of next year, a move that will lead to the loss of 440 jobs.