[SPARK-4183] Close transport-related resources between SparkContexts

A leak of event loops may be causing test failures.
No idea if I have ssh access, this seemed easier. Man, I caught a lot of leaky tests!