Quick update. I went to Samsung service centre. Indeed it's the pen itself. Tried a new pen and straight away it works. I'm suspecting there's internal counter which determines life span of the pen. Normally, according to the service technician, it's around 2 years of usage and mine sadly, just past the two-year mark.