curl error: Connection timed out after 500 milliseconds