Imediatly flush output stream on writeMessage