Server now sends the right buffer and removes the client smoothly.