Currently refresh command needs the user to do CTRL+C to exit, it will be better to have non-daemon mode that can quit after job is done.