Use the pipe operator for more readable code.
Reverse clause order and make message limit configurable.
Rename to process-ring.