Fixed problem with referenced resp variable when endpoint is timing out.