Merge "Move cancellation of CoroutineScopes to bg thread as it can be slow." into main