add send exec and modify send_close