bugfix close should ignore connection resets