Re-cache OS env-vars in TCP drain tests.

Otherwise we get stuck with the default idle timeout.