implement software shutdown :+1: :stars: