wait for uri.open before sending media to Twitter