web-services: one more way to stop report threads
web-services: one more way to stop report threads

Have a "must_stop" flag at the Thread object, so that processes can
gracefully exit. They can raise a KeyboardInterrupt which will make sure
that the exception will propagate all way up to the thread loop.

xrg/openerp-server,xrg/openerp-server