Intercept HTTP error in case HTTP server can't start