added reconnect for manually created stubs