Cleanup before starting again on UI