sleep before exit to  prevent `SIGTERM handler DEFAULT not defined`