Cleanup before starting