There may be a slight delay for the relay to turn off after the ignition is turned off. Check the voltage getting to the pump motor and make sure it is getting 12 volts. If that is good then you may need to replace the pump. I doubt there is a ground issue.