gdb_server: update rtos threads on new connection