fix connection to remote queue