Retrieves the list of valid task statuses.

Returns a list of valid task statuses.