event event donot exit even after a local function calling. event still lives in main. event seems have his own life.