Application object (production modules)
Stops the job currently running. If the job is stopped successfully, the method returns zero (0). Otherwise, a negative number is returned.
Be careful when using this method, since you might end up with timing problems.