flush added to fix stall problem on some HTTP clients