fixed bug where if you sent messages really quickly the server crashed