log tailing and shutdown gracefully

lsof ./sub.log | wc -l
show 2 when active, 0 when after user interrupt