remove the remote db connection