Well I have had the boiler serviced today and also the thermocouple was replaced but the problem remains (pilot remains lit until the burner is lit for a few seconds then click and burner and pilot go out).
The plumber said there is a blockage in the system somewhere because he cannot feel any...