Added TerminateWork.

Added TerminateWork and integrated it into PacketContent