Close the producer inline instead of deferring it.

This is a shot in the dark and I doubt it will actually fix anything, but it
should at least kick Travis.

@wvanbergen