fixed a bug with old collector->fd when next resolve fails