set value after timeout fixes frappe/erpnext#1695