internal Task<int> ReadAsync(FakeTcpClient fakeTcpClient, ReadDTO readDTO)
{
Action waitUntilWriteHappen = () => WaitUntilWriteHappen(fakeTcpClient);
Func<Task, int> resultAfterWriteHappen = x => ResultAfterWriteHappen(fakeTcpClient, readDTO);
return Task.Run(waitUntilWriteHappen, _token).ContinueWith(resultAfterWriteHappen, _token);
}