LPS-45585 Throttle messages in the task queue of the search index writer to avoid OOM exceptions

Great work @laszlocsontos, @robertoDiaz\!