debug: call flush when doing service echo