Fix FastAGI To Properly Check For A Connection