Fixed bug where server buffer could possibly keep growing.