red-brick: Use new program scheduler state API