Registering and deregistering interest in LTERMs

IMS registers and deregisters interest in LTERM queues when certain actions are taken.