Deadlock found when complete task (flowable 6.5, mysql 5.6)

I just had a similar issue with Flowable and Sql Server. Maybe different issue but this post links to Camunda and that fixed deadlock issues with SQL Server.