Updated status code processing on long running tasks.