shutdown

public void shutdown()

Initiates an orderly shutdown in which previously scheduled commands will be delivered later, but no new commands will be accepted.

Invocation has no effect if the scheduler is already shut down.