Main fixed to receive Stop and Restore server messages