fix "Failed to clean up temp dirs" appearing despite terminateIntegrationSlave()