Sounds too weird for words, so brings some questions about what you see and what else might be causing the deal. Weird because it is only an electromagnet keeping it open and a spring closing it, so doing it slow would require some really weird slow movement like think lube, maybe?
But there are times when what we see may not be the real story, so let me check.
How are you judging when it closes? Are you watching when bubbles stop coming out at the tank?
That might bring in a thought on the way a long tube may balloon while pressure is on and then slowly let it release out the end. This is more likely to happen if you have a long tube and material that is softer to let it balloon more, often combined with a reactor or diffuser that uses higher pressure.
Any chance of that looking like the solenoid not closing when it has actually closed but pressure is still slowly working it's way out of the tube?