Improve stub tooling: log error on remaining unconsumed stub(s)