Add dispose and timeouts to producer tests.

Trying to bring tests into a better state with consistency.