nearing the end of the server, trying to finalize the data sending between clients and the server