fix infinite loop when thenable fulfills with itself