Apply Issue 34's patch https://github.com/rtomayko/replicate/pull/34
until