Close the connection on exit
Adding module to sanity check configs