Change book keeping of sockets for delivery and waiting