Add status code to tasks delete route