Don't render template if db-connection failed