Fixed crash at query-stop triggering send triggering free-case.