Fix failing test, move setTimeout to around restart point