fixed symfony/php fastcgi finish bug