PrintContentHandler can now abort after processing a specified number of messages