# Incompatibility between commath and babel packages

When writing a semicolon in math mode while using commath and babel, like in the following code, the PDF does not compile and outputs a timeout error.

I reduced my preamble and my code as much as I could, in order to isolate the problem. Anyone knows what causes this issue and how to fix it ?

\documentclass{article}
\usepackage[french]{babel}
\usepackage{commath}

\begin{document}

$:$

\end{document}