proper exit usage