bootstrap: Only close open tcp connections in wait

Ping @archSeer