server.stop() doesn't appear to be a method