fix to check @running per 1sec for speedy shutdown
udpate doc