Attempt to improve MockWebServer reliability.

Use the same InetAddress when binding to a port as when offering the
MockWebServer's address.

Wait for the executors to all shutdown before returning from shutdown().