Do not know how well the B-17 performs with one engine out but specialy on the old radial engine aircrafts I flew we did retract the gear ASAP, even more so with an Eng. failure.
Those tired birds would hardly climb.
One of the first priotities with an Eng. failure was to reduce power on the tired or tired ones left alive to avoid a second failure.
Not trying to imply anything here.