A time-dependent solution for the operation of ion chambers in a high-ionization background