add set-send-timeout function.