PHP not listening when you try to flush data. Try the following, it helped for me:
If PHP isn’t flushing it could be your webserver that’s collecting your output for gzipping:
This worked for me..