Send a shutdown message to exec-port and wait for it to exit.