Merge "Use custom background dispatcher to stop excess thread creation." into main