Returning values from background task.