check cancellationtokensource in Dispose() prior to invoking, now that the tcp retry thread is optionally spawned