Fix timeout order in procedure dynamic operation and program for ST