Restart server if stopped during test