thorium: add backoff to avoid memory exhaustion

Reviewed-by: Fangfang Xia <fangfang@anl.gov>
Link: https://github.com/GeneAssembly/biosal/issues/728
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>