Save button is not working in the hosted environment

I have hosted my ERPNext application in AWS Server, the issue is at some times the save button in the doctypes wont work, at that that time i need to stop the bench and restart it.
Is there any way to rectify this issue ?