Changed Server and Client to go back to using 'shutdown' since it seems 'close' still isn't working.