Stop protocol, check that looping call is working

All I needed to do was call stop protocol to get the looping call to stop. This got the reactor in a clean state. All tests passing for peer discovery.