Close remote DB connection