added missing '}'
adding watchdog for server