You can't get the used steam back into the boiler while it's still steam: that would take huge amounts of pumping work. You have to actively cool it first, until it condenses back into liquid; then you can pump it in with a small amount of work because its volume is small.