@robtillaart @gcjr I just wanted to thank you guys, just finished testing and had a 100% success on 50 reads!! I had spent in total over 25 hours trying to get this to work properly and finally its done.
All I had to do was increase the baud rate as rob had said and I removed the part which was checking is there was a card present like gcjr had said. So thank you both very much.