Fixed following issues:
1) No reason code is "" not "0"
2) Not getting all data in bg thread