send wait optimization