Reverted portTICK_RATE_MS implementation back to original implementation