Test connection multiple times before giving up
Reverse debugging modifications