Update server to quit when message is empty