clean up on http method

want to make it spawn tasks.