Work done on the tcp listener