Started working on stopServer but didn't finish with it. I'm not sure where in the code the server should see if there are any more requests and then shut down if there are. We don't want to shut down in the middle of responding. To shutdown we need to call the function shutdownServer()