Added new RewindBeforeReadInputSream