Don't end the connection so early.