Another cause is the rubber cups in the master cylinder have swollen and are now blocking the relief port (small hole). If this is the case a rebuild is required. These rubbers seal on the edge and if this is damaged they no longer work.
Tony