Adding connection reset stuff...