promises for TCP disconnect