Trap exceptions thrown within run_in_background
Trap exceptions thrown within run_in_background

Turn any exceptions that get thrown synchronously within run_in_background into
Failures instead.

matrix-org/synapse,matrix-org/synapse,matrix-org/synapse,matrix-org/synapse,matrix-org/synapse,matrix-org/synapse