Added url validation and ping to the url being rendered as pdf before process it