Free the correct inq task to avoid leaking memory during startup.