Good chance it is a bad hose. A bad hose acts like a check valve...the master cylinder forces the fluid past an obstruction in the hose, but it can't return when you let off. Blowing through the hose after it is removed should tell if it is at fault.