don't return immediately, efree() when done checking http method