use existed connection when sending multiple errors

useful for cli mode