Add unload method for daemon