at least one error handler should be bound to the `error` event in order to avoid propagation of errors