Set main pid to 0

Signed-off-by: Mikhail Durnev <Mikhail_Durnev@mentor.com>