Fix pasteboard not ready when connection starts