The method does not close stream itself, but just closes decoding cleaning all associated data with it.
public void Close( ) { stream = null; imageInfo = null; }