Fix finding supervisor pid when starting nodejs