improved shutting down of decomissioner thread