No. If you cancel before the given deadline, it will not be considered as an attempt. In such situations, candidates should be well aware of the deadlines.