Hi Omkar Ghodke,
You can try below options:
Option:1
Try to republish an older stable version from service center where you do not have this issue.
Option:2
First of all, take the backup of your oml by saving it in local machine and then delete your module from service studio and then upload the local oml file and remove the code where it infinite updating the record and publish it. Beware that in this way you will lost all the database records. So only do if this is dev environment.
Please share if you are able to resolve your issue.
Thanks
Pankaj.