handle owner exit