persistent mode in daemon mode

Signed-off-by: Thiago Rondon <thiago.rondon@gmail.com>