another attempt to work out connection handling with php-fpm