fix a segfault when stopping the reactor

this particular way of invoking the run method in the reactor
was giving trouble under some conditions.
switching to runReturn makes it work.