dispose abstract method

void dispose()

Clears the queue and cleans up.

Implementing this function, remember to drop all jobs in queue so all jobs will complete with at least a failure.

Implementation

void dispose();