you haven't included what model the boiler is, e.g 401,45/3,45/4 etc. if the pilot stays on until the main burner lights the problem is probably a partialy blocked pilot (401) or additionaly if its a 45/3 or 4 it could be the pilot monitoring tube or pilot ASD partially blocked, in any case you must understand that the pilot is not there just to light the burner, it is a safety device and could be an indication that there is a serious problem with the boiler or flueing or ventilation problem.
tojo
September 2007