Added setTimeout to domain