Are you monitoring the status LED when it stops playing ? Is the amp actually shutting off ? Was the amp new or used when you initially installed it ? Have you tried removing the HEC card ?

Which positive terminal did you connect to ? I would also strongly suggest moving the ground to the grounding point by the battery not directly to the battery terminal- the IBS system tends to not like that much.