Improved PHP request shutdown performance