(cleanup) Cleanup the db connection require code