adding state variable to keep track of whether or not server is already running, this probably won't help things if it is daemon or threaded, but hey jack, just incase.