be sure to close the respoke socket connection so the example properly exits