remove pending queue for ack msg already contains task attempt id. if msg may lose, then adding it back.