[unicorn] fix for losing pid for unicorn