Don't let the input stream grow unboundedly.