Add method to clear queue

Based on @bcooksey pull request but also cancels the current request.