Fixed shutdown twisted reactor shutdown.

- Hack: Explicit call of sys.exitfunc, necessary until plugins work