master
cancellation and shutdown