Only wait 5 seconds for graceful shutdown.