updated to latest revision
added method to interrupt the queue