When STDERR gets dtor'd, the descriptor is closed, so the leak messages are
heading into the void.
The reason for the change was so that PHP CLI could be launched from inetd and
be able to close descriptors.
A (somewhat hacky) fix would be to skip closing the descriptor if it is the
stderr descriptor and if PHP is in request shutdown.
--Wez.