Why do I get duplicated encounters when submiting HTML forms?

Some times when a form is submitted it generates two or more encounters of the same form, I’m using HTML Form Entry 2.4