Require server restart on mode change

Otherwise, could launch server that points people back to sandbox
website at end of study and then create live HIT.