OfflineDetectionNode: Changed storage/handling of pending ACKs

Use pointers in order to be able to free them correctly when going down.