Thanks guys for reply. For alternative i have used a EventHandler.
[_vehicle, ["engine",{if(isEngineOn (_this select 0) && !((_this select 0) getVariable ["haveKey", false]))then{(_this select 0) engineOn false}}]] remoteExec ["addEventHandler", 0, true];
It works as I wanted.