close order outside resolve