using ChunkedInputAdapter should help fix issue #494
appeasing the code narc