Added implicit flushing of all IO object before forking and :no_flush option