Execute insert contract to return ok on success
Workaround problem when isn't possible to connect to mongodb