Clipboard: improved handling of time consuming clipboard transfer

Improved clipboard handling when data from server takes more than 1 second to arrive.