Include example of how to stop the reactor from script

Altered the documentation a little bit so the example includes stopping of the reactor when running from script.