spawn_cron() sends a request to run WordPress cron but doesn’t halt page loading.
Category: Threads
Prevent PHP function being run on different threads
Using directory approach
Return HTTP response before continuing
Return HTTP 200 response before continuing processing