RA-284 Added explicit flush