[PATCH v2 3/8] message: add cancelled state