Execute local tasks in same thread.