Updating server.stop to take options with a timeout