added check to exit when the connection with the database cannot be established
added check to exit when the connection with the database cannot be established

mozilla/tls-observatory,mozilla/tls-observatory,jasonthomas/tls-observatory,jasonthomas/tls-observatory,mozilla/tls-observatory,mozmark/tls-observatory,jasonthomas/tls-observatory,mozilla/TLS-Observer,mozilla/tls-observatory,jasonthomas/tls-observatory,mozilla/tls-observatory,mozmark/tls-observatory,jasonthomas/tls-observatory,mozmark/tls-observatory