Check #closed? instead of rescuing.