[gdb/remote] Fix abort on REMOTE_CLOSE_ERROR