Use thread manager instead of async task.