free the result object after fetched.