I think you should add the <code>flush</code> option here also.