I noticed the run loop seems to be an infinite loop. Is there anyway we can send a command to gracefully shutdown the server?