Remove DB Config from where it was not need it
Close DB Connections to prevent spooling