Do not emit 'end' twice from Connection on close