Stop unexpected http request using stub method