The solution to F1's big anti-climax problem

Safety car endings are sometimes something you just have to accept. But surely there's a way to solve one issue that delays an F1 race restarting