Improved MemoryBlockStream.SetLength() and added override for CanTimeout