Phonegap + JQuery Mobile application randomly gets stuck on the current page

Phonegap + JQuery Mobile application randomly gets stuck on the current page

Hello,

We are developing a Phonegap application with JQuery mobile that randomly gets stuck on the current page. After starting the application, a few minutes it works fine, but after some time it just doesn't navigate to another page (either through direct link, window.history or $("body").pagecontainer). On the current page everything continues to work fine (inputs, buttons, even ajax requests), and it happens on every page, apparently not related to any concrete user interaction.

Thank you in advance,
Andor Korodi