Store ec pid together with status once ec started