[Ruby]The stmt.execute() throws an undesired error if it is called multiple times