Fix in Bridge: stop the (wrapped) codes when Bridge.stop() is called
allow multiple distributed instances, introduce set_as_default function on distributed