Fixed bug where server process would not end properly