created function for rebooting notice thread