Fix spec, flush queue afterward to prevent mochiweb crash.