Subdag deadlock issue

There r multiple sudbags used in my dag and occasionally it fails becoz of deadlock {taskinstance.py:1051} ERROR - (_mysql_exceptions.OperationalError) (1213, ‘Deadlock found when trying to get lock; try restarting transaction’) [SQL: UPDATE task_instance SET state=%s, queued_dttm=%s WHERE task_instance.task_id = %s AND task_instance.dag_id = %s AND task_instance.execution_date = %s] any help I can provide more details