close db connections to avoid database leak warning.