delay with fuel pump priming.

Hey guys i recently delveloped a problem, everytime i turn my key the CEL takes awhile to come off. when it does i hear the fuel pump kick in and turn off. its suppose to kick in as soon as i turn the key. i did the main fuel relay test from the honda service manual the mfr checks out fine. how can i solve this problem? thanks in advance…

update: traced the problem to a bad ecu. replaced it, everything is on point now.

it could be a bad ignition switch.