Moving result processing to background thread