Local API might fail when starts with Windows