this version of Dancer2 should prevent tests hanging