Close db connection on signal Kill or Interrupt