Delete main RT task and call terminate model