Trying to work around PHP segfault on shutdown after successful test.