Add support for WAIT/NOWAIT added to MariaDB in version 10.3 : https://mariadb.com/kb/en/library/wait-and-nowait/