Add support for setting the number retries in Papetrail streaming