refine screen sharing error handling