try to set uart timeout and min data