GEOS-5766 - MonitorInputStream ignores maxSize