Handle connection error in they
New option `end` and better handling of errors