# Cancel, pause restart Handle in SpringBoot

**URL:** <https://forum.flowable.org/t/cancel-pause-restart-handle-in-springboot/5201>\
**Category:** Flowable Engine\
**Created:** [January 10, 2020, 1:35am UTC](https://forum.flowable.org/t/cancel-pause-restart-handle-in-springboot/5201 "2020-01-10T01:35:22Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![wwitt](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/wwitt/32/706_2.png) [@wwitt](https://forum.flowable.org/u/wwitt)\
**Post date:** [February 20, 2020, 2:23pm UTC](https://forum.flowable.org/t/cancel-pause-restart-handle-in-springboot/5201/4 "2020-02-20T14:23:21Z")

</div>

Multiple async tasks in parallel might cause issues if they are short lived and finish at nearly the same time. There was a post a while back with a similar error:

> [@ORA-00060 deadlock flowable with oracleDB as datasource](https://forum.flowable.org/t/ora-00060-deadlock-flowable-with-oracledb-as-datasource/5160/7):
>
> I actually included it because it may allow you to remove some of your custom wiring of the messages into the process. You are correct that most of the time a race condition will trigger a FlowableOptimisticException but clearly something is getting around the locking we do have. I would expect a slow database connection to lead to connection timeouts not a deadlock, though I suppose it increase the time a transaction takes and also time the application is vulnerable to this occurring. I’d lo…

---

_[View the full topic](https://forum.flowable.org/t/cancel-pause-restart-handle-in-springboot/5201)._
