Some error reporting when deadlock found