SW-171. Fix transport endpoint error

shutdown call not needed here