[logger] remove EM::Queue from logstream, enable a stop hook to flush log events