added task shutdown