Fix issues with promises being returned from http wrapper