If water runs back into the pump from the line, this could be causing the pump to shut off when you don't want it to. Installing a check valve (or replacing the check valve if it's been there a while) would likely solve this problem.
Sump pumps, Sharkbite Fittings and Check Valves can be found at www.supplyhouse.com