Updated error status return for task_create swi