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

A leak of event loops may be causing test failures.
This and the other leaks would only leak during the ExternalShuffleIntegrationSuite, which only creates a handful of SparkContexts.