waitFor: clearing interval before executing callback