Stops queue execution.
int stop_queue()
This method allows you to control the asynchronous operations queue by stopping queue execution.
0: On success
-1: On error