I had the exact same problem when sending webhook callbacks from our API, some remote servers were slow to respond. To solve this, I made this Laravel package that moves requests to the background and executing them with cURL in a forked process on the server. If you're not using Laravel, you can just copy the logic and use it in any PHP application. https://packagist.org/packages/oliverlundquist/laravel-http-background