tcp: space cleanup