Merge "Add done() to SingleStateQueue"