add `max_retry_wait` parameter for BufferedOutput
Merge pull request #219 from sonots/max_retry_wait

add `max_retry_wait` parameter for BufferedOutput