try to fix middleware bug: gdb daemon tests #28