Great question!

In jsreport v2, there is no way to cancel it.
in v3 this works by design. Closing the request also immediately terminates its execution.