auto restart if not found any share in some time.
set environment to repalce arguments.