Allow gc after processing input.