Set callback proc after SetClipboardViewer is called.
Fixed JRuby hangs in test:chain