Current source with output resistance