setTimeout workAround