The rescue operation in Thiruvananthapuram was called off after 24 hours after the worker got stuck in the well