This does not follow the rules of an InputStream.

from the [javadoc]( http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html) InputStream#read
>  This method blocks until input data is available, the end of the stream is detected, or an exception is thrown.