Closed and surjective implies quotient