Need to run message loop.
More graceful shutdown.