* lib/gdb.exp: Close connection to remote host if gdb doesn't