Fixed BlockingInputStream.read() (https://issues.jboss.org/browse/JGRP-1723)