use rsyslog and reset db connections on exception