During a power failure or if you return pump is off, a little water from the tank will drain into the sump, but it will stop at a certain point, it's normal. Once it's done draining, just detach the pump from the line clean it, then reattach it. If you want a type of "shut off valve" look into a check valve.
-Justin