Fixed GDB timeout crash - regression introduced back when log_add/remove_callback...