Programmatically cancel rendering

Right now there is no option to cancel render in the Render Operators section, while there is a way to cancel manually by pressing Escape key when the interface is used, there seems to be no way a render can be cancelled.

Is there any reasoning behind why there is no way to cancel a render programmatically? Or are there any plans to implement this?