Catch errors in url.parse for now to make it work