always throw an error if the transport is being used when it's no running. This fixes a couple of failing tests.