Canceling relayout

Is there any chance to cancel Plotly.relayout if it takes too long?