[dg_bridge] Synchronize. Remove bug due to simultaneous calls to run_command.