Prevent IPv6 issue

On windows with IPv6 enabled database actions took time.