Break direct TPL dependency from stream classes