Added handling for waiting for all servers to shutdown.

Added handling for waiting for all servers to shutdown before updating.