Removing duplicate submits in a short period