fix for infinite waitFor