Created workaround for reset curl handler