spawns new process for headers
fix ApiTest