batch close error