moved getting restart message to request function