rework set-timeout to be faster